package com.xiaobingby.admin.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaobingby.admin.sys.entity.Permission;
import com.xiaobingby.admin.sys.vo.MenuTreeVo;
import com.xiaobingby.admin.sys.vo.PermissionTreeVo;

import java.util.List;

/**
 * <p>
 * sys_permission 权限表 服务类
 * </p>
 *
 * @author XiaoBingBy
 * @since 2018-10-29
 */
public interface IPermissionService extends IService<Permission> {

    List<PermissionTreeVo> getPermissionTree();

    List<PermissionTreeVo> getRolePermissionTree(Long roleId);

    List<MenuTreeVo> getUserMenuTree();

}
